revXMLRPC_GetProtocol
Type
function
Summary
This function returns the protocol of an XML-RPC document.
Syntax
revXMLRPC_GetProtocol(<XMLRPCdocumentID>)
Description
Use the revXMLRPC_GetProtocol function to retrieve the network protocol used in the execution of an XML-RPC request.
If the revXMLRPC_GetProtocol function encounters an error, it returns an error message starting with "xmlrpcerr" ..
Parameters
Name | Type | Description |
---|---|---|
XMLRPCdocumentID | integer | The number returned by the revXMLRPC_CreateRequest when you created the XML-RPC request, or the successful revXMLRPC_Execute function when you executed an XML-RPC request. |
Examples
local tProtocol
put revXMLRPC_GetProtocol(tRequest) into tProtocol
Value
Name | Type | Description |
---|---|---|
return | string | The revXMLRPC_GetProtocol function returns the type of connection that is established with the host. By default, XML-RPC uses HTTP connections, but for added security you can use HTTPS connections, if the host supports it. |
Related
control structure: function
function: revXMLRPC_CreateRequest, revXMLRPC_Execute
glossary: Standalone Application Settings, host, standalone application, return, function, XML-RPC, LiveCode custom library
library: XML-RPC library
command: revXMLRPC_SetProtocol
Compatibility and Support
Introduced
LiveCode 2.5
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile